﻿using System;
using System.Collections.Generic;
using System.Text;

namespace libry
{
    //书
    class Book
    {
        private int bookid;         //图书id
        private String bookName;    //书名
        private String writer;      //作者
        private String press;  //出版社
        private String bookinfo;  //详细信息
        private int locat_id;
        private String pub_tiom;//出版时间
        private int quantity;        //数量
        private String type;    //类型
        private String bookLocatedId;

        public int BookId { get => bookid; set => bookid = value; }
        public string BookName { get => bookName; set => bookName = value; }
        public string Author { get => writer; set => writer = value; }
        public string Publicsher { get => press; set => press = value; }
        public string IntrolTime { get => bookinfo; set => bookinfo = value; }
        public int Status { get => locat_id; set => locat_id = value; }
        public int BookNum { get => quantity; set => quantity = value; }
        public string BookType { get => type; set => type = value; }
        public string Pub_tiom { get => pub_tiom; set => pub_tiom = value; }
        public string BookLocatedId { get => bookLocatedId; set => bookLocatedId = value; }
    }
}
